package designMode.templatePattern;

/**
 * @author LIBOFEI
 * @ClassName Tea2
 * @description
 * @date 2020/6/26 14:35
 * @Version 1.0
 **/
public class Tea2 extends DrinkBeverage {

    @Override
    public void brew() {
        System.out.println("拿茶");
    }

    @Override
    public void add() {
        System.out.println("加柠檬");
    }

    @Override
    public boolean wantAdd() {
        return false;
    }
}
